package com.cloud.api.domain.tsp;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import jakarta.validation.constraints.NotEmpty;

@Data
@Schema(description = "修改指令的参数")
public class CommandRequest {
    @NotEmpty(message = "{validation.common.id}")
    private String id;

    @Schema(description = "下发命令")
    @TableField("command_code")
    @NotEmpty(message = "{validation.command.commandCode}")
    private String commandCode;
}
